package com.my.springframework.beans.bean;

import com.my.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @author sk
 * @description
 * @since 2021-12-01
 **/
public class SpouseAdvice implements MethodBeforeAdvice {

    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("关怀小两口(切面)：" + method);
    }
}
